<!DOCTYPE html>
<html>
  <head>
    <title>聊天</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
      <link rel="stylesheet" href="${s.base}/mobile/base/css/weui.min.css">
      <link rel="stylesheet" href="${s.base}/mobile/base/css/jquery-weui.css">
      <link rel="stylesheet" href="${s.base}/mobile/base/css/base.css">
      <link rel="stylesheet" href="${s.base}/mobile/base/css/component.css">
      <link rel="stylesheet" type="text/css" href="${s.base}/mobile/base/lib/DateSelector/DateSelector.css?rev=@@hash"/>
  </head>
  <body>
  发送人id:<input type="text" id="sendId" value="${sendId}"/><br/>
  接收人id:<input type="text" id="receiverId"  value="${receiverId}"/><br/>

   <div class="xyg-bottom">
    	<a href="javascript:submit();" class="weui-btn weui-btn_warn">提交</a>
    </div>
  <div class="xyg-bottom">
    <a href="javascript:login();" class="weui-btn weui-btn_warn">授权</a>
  </div>
  <div class="xyg-bottom">
    <a href="javascript:showMap();" class="weui-btn weui-btn_warn">地址</a>
  </div>
  <style type="text/css">
	  html,body{background:#f5f5f5;}
	.xyg-bottom{width:90%; height:auto;  margin:1.5rem 5%;}
  </style>
  </body>
  <script src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js"></script>
  <script src="${s.base}/mobile/base/js/jquery-2.1.4.js" type="text/javascript" charset="utf-8"></script>
  <script src="${s.base}/mobile/base/js/jquery-weui.js" type="text/javascript" charset="utf-8"></script>
  <script src="${s.base}/mobile/base/js/swiper.js" type="text/javascript" charset="utf-8"></script>
  <script src="${s.base}/mobile/base/js/component.js?12323434323232323232" type="text/javascript" charset="utf-8"></script>
  <script src="${s.base}/mobile/base/fonts/iconfont.js"></script>
  <script src="${s.base}/mobile/base/js/base.js?123456"></script>
  <script type="text/javascript">
      function submit() {
          var sendId = $("#sendId").val();
          var receiverId = $("#receiverId").val();
          wx.miniProgram.navigateTo({url: '/pages/chat/chat?sendId='+sendId+'&receiverId='+receiverId})
      }
      function login() {
          wx.miniProgram.navigateTo({url: '/pages/login/login?logo=/upload/2.png&url=/weChat/chat&urlParam='})
      }
      function showMap() {
          wx.miniProgram.navigateTo({url: '/pages/showmap/showmap?longitude=118.39924&latitude=31.337235&name=后海•星光道&address=京光海景花园A栋1楼1号铺'})
      }
  </script>
</html>

